package com.ydy.mapper;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ydy.mapper.base.BaseMapper;
import com.ydy.model.Order;

public interface OrderMapper extends BaseMapper<Order> {

	List<Order> selectData(@Param("word") String word, @Param("shopId") Long shopId, @Param("userId") Long userId,
			@Param("orderId") Long orderId, @Param("receiver") String receiver, @Param("phone") String phone,
			@Param("email") String email, @Param("status") Integer status, @Param("startTime") Date startTime,
			@Param("endTime") Date endTime);

	Order selectDetail(@Param("orderId") Long orderId);
}